package recycle.pojo;

import java.util.Date;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
* 描述：用户积分日志表实体类
* @author 孙冉
* @date 2019/07/22
*/
public class Customerpointlog implements Serializable {

   /**积分日志ID*/
    private Integer pointId;
   /**用户ID*/
    private Integer customerId;
   /**积分来源：0订单，1登陆，2活动*/
    private Integer source;
   /**积分来源相关编号*/
    private Integer referNumber;
   /**变更积分数*/
    private Integer changePoint;
   /**积分日志生成时间*/
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
   /**其他*/
    private String other1;
   /**其他*/
    private String other2;

    public Customerpointlog(){}
    
    public Customerpointlog(Integer pointId,Integer customerId,Integer source,Integer referNumber,Integer changePoint,Date createTime,String other1,String other2){
        this.pointId = pointId;
        this.customerId = customerId;
        this.source = source;
        this.referNumber = referNumber;
        this.changePoint = changePoint;
        this.createTime = createTime;
        this.other1 = other1;
        this.other2 = other2;
    }

   /**获取积分日志ID属性的值*/
    public Integer getPointId() {
        return this.pointId;
    }
   /**设置积分日志ID属性的值*/
    public void setPointId(Integer pointId) {
        this.pointId = pointId;
    }
   /**获取用户ID属性的值*/
    public Integer getCustomerId() {
        return this.customerId;
    }
   /**设置用户ID属性的值*/
    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }
   /**获取积分来源：0订单，1登陆，2活动属性的值*/
    public Integer getSource() {
        return this.source;
    }
   /**设置积分来源：0订单，1登陆，2活动属性的值*/
    public void setSource(Integer source) {
        this.source = source;
    }
   /**获取积分来源相关编号属性的值*/
    public Integer getReferNumber() {
        return this.referNumber;
    }
   /**设置积分来源相关编号属性的值*/
    public void setReferNumber(Integer referNumber) {
        this.referNumber = referNumber;
    }
   /**获取变更积分数属性的值*/
    public Integer getChangePoint() {
        return this.changePoint;
    }
   /**设置变更积分数属性的值*/
    public void setChangePoint(Integer changePoint) {
        this.changePoint = changePoint;
    }
   /**获取积分日志生成时间属性的值*/
    public Date getCreateTime() {
        return this.createTime;
    }
   /**设置积分日志生成时间属性的值*/
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
   /**获取其他属性的值*/
    public String getOther1() {
        return this.other1;
    }
   /**设置其他属性的值*/
    public void setOther1(String other1) {
        this.other1 = other1;
    }
   /**获取其他属性的值*/
    public String getOther2() {
        return this.other2;
    }
   /**设置其他属性的值*/
    public void setOther2(String other2) {
        this.other2 = other2;
    }
}
